package com.hrpmar.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Destorymaster extends BasePojo {

  private Integer desId;              //序号
  private String desNum;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date desDate;
  private int desState;
  private int desAuditstate;
  private String desAuditper;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date desSubdate;
  private String desMode;
  private String desUnit;
  private String desViews; //审核意见
  private Worker worker;//医院工作对象


  public Integer getDesId() {
    return desId;
  }

  public void setDesId(Integer desId) {
    this.desId = desId;
  }

  public String getDesNum() {
    return desNum;
  }

  public void setDesNum(String desNum) {
    this.desNum = desNum;
  }

  public Date getDesDate() {
    return desDate;
  }

  public void setDesDate(Date desDate) {
    this.desDate = desDate;
  }

  public int getDesState() {
    return desState;
  }

  public void setDesState(int desState) {
    this.desState = desState;
  }

  public int getDesAuditstate() {
    return desAuditstate;
  }

  public void setDesAuditstate(int desAuditstate) {
    this.desAuditstate = desAuditstate;
  }

  public String getDesAuditper() {
    return desAuditper;
  }

  public void setDesAuditper(String desAuditper) {
    this.desAuditper = desAuditper;
  }

  public Date getDesSubdate() {
    return desSubdate;
  }

  public void setDesSubdate(Date desSubdate) {
    this.desSubdate = desSubdate;
  }

  public String getDesMode() {
    return desMode;
  }

  public void setDesMode(String desMode) {
    this.desMode = desMode;
  }

  public String getDesUnit() {
    return desUnit;
  }

  public void setDesUnit(String desUnit) {
    this.desUnit = desUnit;
  }

  public String getDesViews() {
    return desViews;
  }

  public void setDesViews(String desViews) {
    this.desViews = desViews;
  }

  public Worker getWorker() {
    return worker;
  }

  public void setWorker(Worker worker) {
    this.worker = worker;
  }

  @Override
  public String toString() {
    return "Destorymaster{" +
            "desId=" + desId +
            ", desNum='" + desNum + '\'' +
            ", desDate=" + desDate +
            ", desState=" + desState +
            ", desAuditstate=" + desAuditstate +
            ", desAuditper='" + desAuditper + '\'' +
            ", desSubdate=" + desSubdate +
            ", desMode='" + desMode + '\'' +
            ", desUnit='" + desUnit + '\'' +
            ", desViews='" + desViews + '\'' +
            ", worker=" + worker +
            '}';
  }
}
